]> dgit.raspbian.org Git - gnome-shell.git/commit
screenshot: Use separate error when disk writes are locked down
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 25 Jan 2021 11:38:51 +0000 (12:38 +0100)
committerMarge Bot <marge-bot@gnome.org>
Thu, 28 Jan 2021 21:47:50 +0000 (21:47 +0000)
commit1aee0516d67060c3fa6d68b72ebab0f1c84233ef
tree68c7f0f1cae8eef48f41f781ebb17372867c7c0e
parentc853de20eb7e4ac09d7df0f390179d93e1f7ca0f
screenshot: Use separate error when disk writes are locked down

The most likely reason for rejecting a screenshot request is that
there's an ongoing operation from the same sender. Still, we shouldn't
assume that that is the case and return an appropriate error when
writing to disk is disabled via lockdown settings.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3618

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1589>
js/ui/screenshot.js